<template>
    <div class="productDetail">
        <div class="headerBox">
            <van-nav-bar title="产品详情">
                <template #left>
                    <div class="headerLeftBtn">
                        <van-icon @click="$router.push('/category')" size=".48rem" color="#000000" name="arrow-left" />
                        <van-icon @click="$router.push('/category')" size=".48rem" color="#000000" name="cross" style="margin-left: .15rem;" />  
                    </div>
                </template>
            </van-nav-bar>
        </div>
        <div class="contentBox">
            <div class="imgBox">
                <img src="@/assets/images/product/img8.png" alt="">
            </div>
            <div class="footer">
                <img src="@/assets/images/product/img9.png" alt="">
                <div class="btn" @click="handleProduct">立即办理</div>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    name: 'productDetail',
    data() {
        return {}
    },
    methods: {
        handleProduct() {
            this.$router.push('/immediateProcessingDetail')
        }
    },
}
</script>
<style lang="less" scoped>
.contentBox {
    position: relative;
    margin-bottom: 1.2rem;
    .imgBox {
        img {
            width: 100%;
        }
    }
    .footer {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0.98rem;
        display: flex;
        img {
            width: 2.4rem;
        }
        .btn {
            flex: 1;
            background: #2892FF;
            font-weight: normal;
            font-size: 0.34rem;
            color: #FFFFFF;
            line-height: 0.4rem;
            font-style: normal;
            line-height: .98rem;
            text-align: center;
        }
    }
}
</style>
